<script>
    layui.use(['laydate','element','laypage','layer'], function(){
    $ = layui.jquery;//jquery
    layer = layui.layer//弹出层

        layer.confirm('你没有权限反问，请联系小麦开通权限！',function(index){
           // location.replace("{:U('admin/index/index')}")
           layer.getFrameIndex(window.name);
           layer.close(index);
        })

             
    });

</script>

    </body>
</html>